package com.hao.service;

import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.stereotype.Component;
@DubboService
@Component//使用了Dubbo后尽量不要使用Service注解
public class TicketServiceImpl implements TicketService{
    @Override
    public String getTicket() {

        return "hello,世浩";
    }
}
